<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
use frontend\models\ArtForm;
use common\widgets\file_upload\FileUpload;
$this->title = '已报名培训';
$this->params['breadcrumbs'][] = $this->title;
use yii\widgets\LinkPager;
?>
			<section class="news_list">
				<?php if(empty($model)){ ?> 暂无数据 <?php } else{ ?>
				<div class="education_list">

					<ul>
						<?php foreach($model as $key=>$vo){ ?>
						<li>
							<div class="lepic"><img src="<?=Yii::$app->params['setshow']?><?= json_decode($vo['label_img'], true)['newname'];?>" /></div>
							<div class="rgspan">
								<p class="tit"><?= mb_substr(strip_tags($vo['title']),0,22,'utf-8'); ?><?php if(strlen($vo['title']) > 67) { echo '...'; } ?></p>
								<p class="trt"><a href="<?= yii\helpers\Url::to(['meetingenroll/mettingview','id'=>$vo['id']]);?>">查看详情</a></p>
							</div>
						</li>
						<?php } ?>
					</ul>
					
				</div>
				
				<div class="comepage">
					<ul>
						<a <?php if($page>1){?>  href="<?= yii\helpers\Url::to(['meetingenroll/list']);?>?page=<?= $page-1?>&per-page=<?= $size?>" <?php }else{ ?> <?php }?>><li class="prvone">上一页</li></a>
						<li><?php if(isset($page)){?> <?= $page?> <?php }else{ ?> 1<?php }?>/<?= $cpage?></li>

						<a <?php if($page<$cpage){?>  href="<?= yii\helpers\Url::to(['meetingenroll/list']);?>?page=<?= $page+1?>&per-page=<?= $size?>" <?php }else{ ?> <?php }?>><li class="nextone on">下一页</li></a>
					</ul>
				</div>
				<?php } ?>
			</section>



			<footer>
				<div class="footnav">
					<ul>
						<li><a href="<?= yii\helpers\Url::to(['content/index', 'id' => 8])?>">关于我们</a> &nbsp; |</li>
						<li><a href="<?= yii\helpers\Url::to(['content/index', 'id' => 30])?>">联系我们</a> &nbsp; |</li>
						<li><a href="<?= yii\helpers\Url::to(['content/index', 'id' => 34])?>">帮助中心</a> &nbsp; |</li>
						<li><a href="">网站地图</a></li>
					</ul>
				</div>
				<div class="right">© 北京市丰台区餐饮住宿服务行业协会 版权所有</div>
			</footer>
		</div>
		

